import sys

from pyacp.exception import *

try:
  import pyacd
except ImportError,e:
  raise PyAmazonCloudPlayerError("import pyacd failed. "+
                                 "This package needs pyacd")


from pyacp.connection import Connection
from pyacp.auth import login

import api

debug_level=0

conn=Connection()
api_root="https://www.amazon.com/cirrus/"

def get_session():
  return conn.session

